<?php

namespace Drinkiit\BlogBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class MemberArticleType extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder
            ->add('quantite', 'integer', array( 'label' => 'Quantité' ) )
            ->add('specificite', NULL, array( 'label' => 'Spécificités', 'required' => false ) )
            ->add('produit', NULL, array( 'label' => 'Produit') )
        ;
    }

    public function getName()
    {
        return 'admin_management_article';
    }
}
